package com.huilian.iotbox.admin.service.impl;

import com.huilian.iotbox.admin.dao.BrandInfoDao;
import com.huilian.iotbox.admin.service.BrandInfoService;
import com.huilian.iotbox.data.po.BrandInfo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author: loong
 * @create: 2024-05-07 15:29
 **/
@Service
public class BrandInfoServiceImpl implements BrandInfoService {
    @Resource
    private BrandInfoDao brandInfoDao;

    @Override
    public BrandInfo findById(Long id) {
        return brandInfoDao.findById(id);
    }

    @Override
    public BrandInfo findByUserId(Integer userId) {
        return brandInfoDao.findByUserId(userId);
    }
}
